FROM       redis:6.0.8
RUN        ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime;
ENV        TZ 'Asia/Shanghai'
COPY       config/redis.conf /etc/redis.conf
EXPOSE     6379
VOLUME     /data
ENTRYPOINT [ "redis-server", "/etc/redis.conf" ]